<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.yaodian100.core.common.utils.ServerValue"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib uri="/WEB-INF/tld/pageutil.tld" prefix="pu"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<%@taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt-rt"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ include file="/taglibs.jsp"%>


<script type="text/javascript" charset="UTF-8" src="../js/jquery-ui-1.7.2.custom.min.js"></script>
<link rel="stylesheet" type="text/css" href="../css/jquery-ui-1.7.2.custom.css"/>



<h1>
<c-rt:if test="${logTp=='chgRecvInfo'}">修改收货人讯息-历程查询</c-rt:if>
<c-rt:if test="${logTp=='chgPaymentTp'}">修改支付方式-历程查询</c-rt:if>
</h1>
<br>
<table width="100%" border="1" cellspacing="0" cellpadding="0" class="tb-data">
  <tr>
  	<td ></td>
    <td class="bg-yl"><b>订单资料</b></td>
  </tr>
  <tr>  	
    <td class="bg-yl">订单编号:</td>
    <td > ${order.orderId}</td>
  </tr>
   <tr>  	
    <td class="bg-yl">会员编号:</td>
    <td >${order.memberId }</td>
  </tr>  
   <tr>  	
    <td class="bg-yl">订购人:</td>
    <td >${order.memberName}</td>
  </tr>  
   <tr>  	
    <td class="bg-yl">订单状态:</td>
    <td >${orderStMenu.options[order.orderSt].name}</td>
  </tr>  
   <tr>  	
    <td class="bg-yl">订购日期:</td>
    <td ><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${order.orderDt}" /></td>
  </tr>  
   <tr>  	
    <td class="bg-yl">付款状态:</td>
    <td >${paymentStMenu.options[order.paymentSt].name}</td>
  </tr>  
   <tr>  	
    <td class="bg-yl">订单来源:</td>
    <td >${order.channel}</td>
  </tr>  
   <tr>  	
    <td class="bg-yl">网站:</td>
    <td >${domainSrc.options[order.domainSrc].name}</td>
  </tr>  
   <tr>  	
    <td class="bg-yl">付款期限:</td>
    <td >
    <c-rt:if test="${order.paymentTp!='30'}">
    <fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${order.deadline}" />
    </c-rt:if>
    </td>
  </tr>  
</table>
<BR />
<c-rt:if test="${logTp=='chgPaymentTp'}">
<table width="100%" border="1" cellpadding="0" cellspacing="0" class="tb-1">
	<thead>
	<tr>
	 	<th>最后修改时间</th>
		<th>最后修改人</th>
		<th>支付方式</th>
		<th>应付总额</th>		
	</tr>
	</thead>
	<c:forEach items="${oldOrders}" var="oldOrder" varStatus="row_index">
	<tr>
	 	<td><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${oldOrder.createDate}" /></td>
		<td>${oldOrder.createUser}</td>
		<td>${paymentTpMenu.options[oldOrder.paymentTp].name}</td>
		<td><fmt:formatNumber value="${oldOrder.mustPay}" pattern="#,###,##0.00"/></td>		
	</tr>
	</c:forEach>
</table>
</c-rt:if>
<c-rt:if test="${logTp=='chgRecvInfo'}">
<table width="100%" border="1" cellpadding="0" cellspacing="0" class="tb-1">
	<thead>
	<tr>
	 	<th>最后修改时间</th>
		<th>最后修改人</th>
		<th>收件人</th>
		<th>行动</th>
		<th>固定</th>
		<th>收货人地址</th>	
	</tr>
	</thead>
	<c:forEach items="${oldOrders}" var="oldOrder" varStatus="row_index">
	<tr>
	 	<td><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${oldOrder.createDate}" /></td>
		<td>${oldOrder.createUser}</td>
		<td>${oldOrder.receiverName}</td>
		<td>${oldOrder.receiverMobile}</td>
		<td>${oldOrder.receiverPhoneArea}-${oldOrder.receiverPhone}-${oldOrder.receiverExt}</td>
		<td>(${oldOrder.receiverZip})${oldOrder.receiverProvince}${oldOrder.receiverCity}${oldOrder.receiverArea}${oldOrder.receiverAddr}</td>	
	</tr>
	</c:forEach>
</table>
</c-rt:if>

<div class="f-link">
	<a href="javascript:history.back(-1)">回上一页</a>
</div>
